﻿using SqlSugar;

namespace StoreSQLSugar_API.Models
{
    public class StorageRecord
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int RecordId { get; set; }
        public int StoreAreaId { get; set; }
        public int ProductId { get; set; }
        public int Amount { get; set; }
        public DateTime IncomeTime { get; set; }
        public string? Remark { get; set; } = null;
        public int Status { get; set; } = 0;
        public int CreateUserId { get; set; }
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public int? LastUpdateUserId { get; set; } = null;
        public DateTime? LastUpdateTime { get; set; } = null;
    }
}
